package com.bicon.base.data.pojo.botu;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 属性值表
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("class_attribute_item")
public class ClassAttributeItem extends Model<ClassAttributeItem> {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 分类属性ID
     */
    @TableField("attribute_id")
    private String attributeId;
    /**
     * 分类属性值
     */
    @TableField("attribute_value")
    private String attributeValue;
    /**
     * 标识
     */
    @TableField("attribute_mark")
    private String attributeMark;
    /**
     * 排序
     */
    private Integer rank;
    /**
     * 商品Id
     */
    @TableField("product_id")
    private String productId;
    @TableField("logic_delete")
    private String logicDelete;
    @TableField("create_date")
    private Date createDate;
    @TableField("update_date")
    private Date updateDate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAttributeId() {
        return attributeId;
    }

    public void setAttributeId(String attributeId) {
        this.attributeId = attributeId;
    }

    public String getAttributeValue() {
        return attributeValue;
    }

    public void setAttributeValue(String attributeValue) {
        this.attributeValue = attributeValue;
    }

    public String getAttributeMark() {
        return attributeMark;
    }

    public void setAttributeMark(String attributeMark) {
        this.attributeMark = attributeMark;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ClassAttributeItem{" +
        "id=" + id +
        ", attributeId=" + attributeId +
        ", attributeValue=" + attributeValue +
        ", attributeMark=" + attributeMark +
        ", rank=" + rank +
        ", productId=" + productId +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        "}";
    }
}
